package com.isdepci.project.gasEmission.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.isdepci.project.gasEmission.mapper.FugitiveEmissionsMapper;
import com.isdepci.project.gasEmission.domain.FugitiveEmissions;
import com.isdepci.project.gasEmission.service.IFugitiveEmissionsService;

/**
 * 逸散性排放Service业务层处理
 *
 * @author isdepci
 * @date 2023-09-01
 */
@Service
public class FugitiveEmissionsServiceImpl implements IFugitiveEmissionsService
{
    @Autowired
    private FugitiveEmissionsMapper fugitiveEmissionsMapper;

    /**
     * 查询逸散性排放
     */
    @Override
    public FugitiveEmissions selectFugitiveEmissionsById(Long id)
    {
        return fugitiveEmissionsMapper.selectFugitiveEmissionsById(id);
    }

    /**
     * 查询逸散性排放列表
     */
    @Override
    public List<FugitiveEmissions> selectFugitiveEmissionsList(FugitiveEmissions fugitiveEmissions)
    {
        return fugitiveEmissionsMapper.selectFugitiveEmissionsList(fugitiveEmissions);
    }

    /**
     * 新增逸散性排放
     */
    @Override
    public int insertFugitiveEmissions(FugitiveEmissions fugitiveEmissions)
    {
        return fugitiveEmissionsMapper.insertFugitiveEmissions(fugitiveEmissions);
    }

    /**
     * 修改逸散性排放
     */
    @Override
    public int updateFugitiveEmissions(FugitiveEmissions fugitiveEmissions)
    {
        return fugitiveEmissionsMapper.updateFugitiveEmissions(fugitiveEmissions);
    }

    /**
     * 批量删除逸散性排放
     */
    @Override
    public int deleteFugitiveEmissionsByIds(Long[] ids)
    {
        return fugitiveEmissionsMapper.deleteFugitiveEmissionsByIds(ids);
    }

    /**
     * 删除逸散性排放信息
     */
    @Override
    public int deleteFugitiveEmissionsById(Long id)
    {
        return fugitiveEmissionsMapper.deleteFugitiveEmissionsById(id);
    }
}
